home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGForeignObjectElem.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  128 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGForeignObjectElem.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGForeignObjectElem_h__
  6. #define __gen_nsIDOMSVGForeignObjectElem_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGForeignObjectElement */
  21. #define NS_IDOMSVGFOREIGNOBJECTELEMENT_IID_STR "fd9c9871-23fd-48eb-a65b-3842e9b0acbd"
  22.  
  23. #define NS_IDOMSVGFOREIGNOBJECTELEMENT_IID \
  24.   {0xfd9c9871, 0x23fd, 0x48eb, \
  25.     { 0xa6, 0x5b, 0x38, 0x42, 0xe9, 0xb0, 0xac, 0xbd }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGForeignObjectElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGFOREIGNOBJECTELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength x; */
  33.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength y; */
  36.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength width; */
  39.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
  40.  
  41.   /* readonly attribute nsIDOMSVGAnimatedLength height; */
  42.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
  43.  
  44. };
  45.  
  46. /* Use this macro when declaring classes that implement this interface. */
  47. #define NS_DECL_NSIDOMSVGFOREIGNOBJECTELEMENT \
  48.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
  49.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
  50.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
  51.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMSVGFOREIGNOBJECTELEMENT(_to) \
  55.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
  56.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
  57.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
  58.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); } 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  61. #define NS_FORWARD_SAFE_NSIDOMSVGFOREIGNOBJECTELEMENT(_to) \
  62.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  63.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  64.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  65.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } 
  66.  
  67. #if 0
  68. /* Use the code below as a template for the implementation class for this interface. */
  69.  
  70. /* Header file */
  71. class nsDOMSVGForeignObjectElement : public nsIDOMSVGForeignObjectElement
  72. {
  73. public:
  74.   NS_DECL_ISUPPORTS
  75.   NS_DECL_NSIDOMSVGFOREIGNOBJECTELEMENT
  76.  
  77.   nsDOMSVGForeignObjectElement();
  78.  
  79. private:
  80.   ~nsDOMSVGForeignObjectElement();
  81.  
  82. protected:
  83.   /* additional members */
  84. };
  85.  
  86. /* Implementation file */
  87. NS_IMPL_ISUPPORTS1(nsDOMSVGForeignObjectElement, nsIDOMSVGForeignObjectElement)
  88.  
  89. nsDOMSVGForeignObjectElement::nsDOMSVGForeignObjectElement()
  90. {
  91.   /* member initializers and constructor code */
  92. }
  93.  
  94. nsDOMSVGForeignObjectElement::~nsDOMSVGForeignObjectElement()
  95. {
  96.   /* destructor code */
  97. }
  98.  
  99. /* readonly attribute nsIDOMSVGAnimatedLength x; */
  100. NS_IMETHODIMP nsDOMSVGForeignObjectElement::GetX(nsIDOMSVGAnimatedLength * *aX)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute nsIDOMSVGAnimatedLength y; */
  106. NS_IMETHODIMP nsDOMSVGForeignObjectElement::GetY(nsIDOMSVGAnimatedLength * *aY)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* readonly attribute nsIDOMSVGAnimatedLength width; */
  112. NS_IMETHODIMP nsDOMSVGForeignObjectElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116.  
  117. /* readonly attribute nsIDOMSVGAnimatedLength height; */
  118. NS_IMETHODIMP nsDOMSVGForeignObjectElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* End of implementation class template. */
  124. #endif
  125.  
  126.  
  127. #endif /* __gen_nsIDOMSVGForeignObjectElem_h__ */
  128.